// import com.alibaba.druid.sql.ast.SQLName;
// import com.alibaba.druid.sql.dialect.oracle.visitor.OracleASTVisitor;

#include "OracleAlterTableDropPartition.h"
#include "../../../../ast/SQLName.h"
#include "../../visitor/OracleASTVisitor.h"

// @Override
void OracleAlterTableDropPartition::accept0(OracleASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(OracleAlterTableDropPartition)))
  {
    acceptChild(visitor, name);
  }
  visitor->endVisit(SharedObject(OracleAlterTableDropPartition));
}

SQLName_ptr OracleAlterTableDropPartition::getName()
{
  return name;
}

void OracleAlterTableDropPartition::setName(SQLName_ptr name)
{
  this->name = name;
}
